import { useState } from 'react'
import logo from './logo.svg'
import './App.css'
import Dog from './Dog'
import Computer from './Computer'
import Notification from './Notification'
function App() {
const [num,setNum]=useState(0)
setTimeout(()=>{
  
  setNum(2)
},2000)
  return (
    <div className="App">
      <Dog></Dog>
      <Computer></Computer>
      <Notification n={num}></Notification>
    </div>
  )
}

export default App
